package com.example.demo.model.response;

import com.example.demo.common.LongToDateStringSerialize;
import com.example.demo.common.LongToMonthStringSerialize;
import com.example.demo.jooq.tables.pojos.ThirdProvider;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProviderResponse {

    private String     thirdProviderId;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long       createdDate;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long       updatedDate;
    private String     providerContactName;
    private String     providerContactMethod;
    private String     providerContactNo;
    private String     providerCompanyName;
    private String     site;
    private BigDecimal providerCommissionAmount;
    private BigDecimal providerExchangeRate;
    private String     providerRemark;
    private String     providerRefundMethod;
    private String     providerRefundAccountNo;

}
